<div class="top">
    <a href="/web/index" class="logo">
        <img src="/static/img/logo_alpha_fff.png" alt="">
    </a>
   <!-- <div class="info" th:if="${session.webUser != null}">
        <img th:src="@{/static/img/default.png}" class="layui-nav-img">
        <span th:text="${session.webUser.name}"></span>&nbsp;
        <a href="/web/user/logout"}>退出</a>
    </div>-->
    <ul class="layui-nav" lay-filter="" th:if="${session.webUser != null}">
        <li class="layui-nav-item">
            <a href="javascript:;"><img th:src="@{/static/img/head1.jpg}" class="layui-nav-img" th:text="${session.webUser.name}"></a>
            <dl class="layui-nav-child">
                <!--公用的-->
                <dd><a href="/web/uc/index">用户中心</a></dd>
                <dd><a href="/web/user/logout"}>退出</a></dd>
            </dl>
        </li>
    </ul>
    <script>
        layui.use('element', function(){
            var element = layui.element;
        });
    </script>
</div>